import request from '@/plugins/request';
// 表单列表
export function formList(data) {
    return request({
        url: 'v1/clue/form/list',
        method: 'get',
        params: data
    });
}
// 表单编辑详情
export function formEditInfo(data) {
    return request({
        url: 'v1/clue/form/edit-info',
        method: 'get',
        params: data
    });
}
// 部门项目筛选条件
export function deptProjectCondition(data) {
    return request({
        url: 'v1/clue/form/department-project-condition',
        method: 'get',
        params: data
    });
}
// 表单新增
export function formCreate(data) {
    return request({
        url: 'v1/clue/form/create',
        method: 'post',
         data
    });
}
// 表单编辑
export function formUpdate(data) {
    return request({
        url: 'v1/clue/form/update',
        method: 'post',
         data
    });
}
// 表单删除
export function formDel(data) {
    return request({
        url: 'v1/clue/form/delete',
        method: 'post',
         data
    });
}
// 表单模板列表
export function formTemplateList(data) {
    return request({
        url: 'v1/clue/form-template/list',
        method: 'get',
        params: data
    });
}
// 表单模板编辑详情
export function formTemplateEditInfo(data) {
    return request({
        url: 'v1/clue/form-template/edit-info',
        method: 'get',
        params: data
    });
}
// 表单模板新增
export function formTeplateCreate(data) {
    return request({
        url: 'v1/clue/form-template/create',
        method: 'post',
         data
    });
}
// 表单模板编辑
export function formTeplateUpdate(data) {
    return request({
        url: 'v1/clue/form-template/update',
        method: 'post',
         data
    });
}
// 表单模板删除
export function formTeplateDel(data) {
    return request({
        url: 'v1/clue/form-template/delete',
        method: 'post',
         data
    });
}
// 表单详情【表单录入用】
export function formInfo(data) {
    return request({
        url: 'v1/clue/form/info',
        method: 'get',
        params: data
    });
}
// 表单提交
export function fromYuyue(data) {
    return request({
        url: 'v1/clue/from-yuyue/receive',
        method: 'post',
         data
    });
}